<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
	<spring:message var="pageTitle" code="ajouterGroup.pageTitle" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>${pageTitle}</title>
	<link href="<%=request.getContextPath()%>/resources/css/forms.css"
	rel="stylesheet">
</head>
<body>
	<div id="registration">
		<h2>Ajouter un groupe</h2>
		<form:form id="formGroup" method="post" action="." modelAttribute="groupe">
		<form:errors path="*">
			<div><spring:message code="error.global"/></div>
		</form:errors>
		<fieldset>
		
		<div class="formseparator">
			<label><spring:message code="ajouterGroup.label.name"/></label>
			<form:input path="name" cssClass="short" cssErrorClass="short error"/>
			<form:errors path="name" htmlEscape="false" />
		</div>
		 
		<div class="formseparator">
			<input type="submit" value="enregistrer" class="btn btn-lg btn-primary"/>
		</div>	
		 
		
		</fieldset>
		</form:form>
	</div>
</body>
</html>